package com.oceanread.cn.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.oceanread.cn.entity.Treelist2;

import java.util.List;

public interface ITreelist2Service extends IService<Treelist2> {
    List<Treelist2> getall();

    List<Treelist2> query(String key, String value);
    List<Treelist2> equal(String key, String value);

    List<Treelist2> getTablelist(int page, int size);

    List<Treelist2> getTablelistquery(String key, String value, int page, int size);

    Integer getnum();

    Integer getnumquery(String key, String value);

    Integer update(Treelist2 treelist2);

    int insert(String pId,
               String id,
               String Name,
               String path,
               String type,
               String typeroot,
               String layers,
               Boolean open,
               Boolean enablePickFeatures,
               Boolean influencechild,
               Boolean checked,
               Double Lon,
               Double Lat,
               Double Height,
               Double heading,
               Double pitch,
               Double roll
    );

    Integer delete(int SYSID);
}
